<template>
	<view class="successbox">
		<up-icon name="checkmark-circle" size="45" color="#43CF7C"></up-icon>
		<!-- <uni-icons type="checkmark-circle"></uni-icons> -->
		<view class="success-title">
			礼包领取成功
		</view>
	</view>
	<view class="btn">
		<up-button type="primary" text="查看礼包" shape="circle" icon="gift" @tap="gotProduct"></up-button>
	</view>
</template>

<script setup>
	const gotProduct = ()=>{
		uni.redirectTo({
			url: "/pages/userCenter/userCenter"
		})
	}
</script>

<style lang="scss">
.successbox{
	text-align: center;
	margin-top: 120rpx;
	color: #43CF7C;
	
	.u-icon{
		justify-content: center;
	}
	
	.success-title{
		margin: 30rpx 0;
		font-size: 1.15rem;
		font-weight: 500;
	}
}

.btn{
	margin: 30rpx;
}
</style>
